package com.itheima.case2.service;

import com.itheima.case2.pojo.vo.AddUser;
import com.itheima.case2.pojo.vo.PageResult;
import com.itheima.case2.pojo.vo.QueryPageBean;
import com.itheima.case2.pojo.vo.UpdateUser;

public interface UserService {
    //1.查询用户
    PageResult queryUser(QueryPageBean pb);

    //2.修改用户
    void updateUser(UpdateUser user);
    //3.添加用户
    void addUser(AddUser user);


    //4.删除用户
    void deleteById(String uid);
}
